<html>  <head>  </head>  <body>         <form name="formName" action="" method="POST">      <input type="text" name="myRequest" value="" size="40" />       <input type="submit" /><input type="reset" />    </form>  <?phpdefine ('HOSTNAME', 'http://www.spreadshirt.net/');$path = 'services.php';$url = HOSTNAME.$path;$session = curl_init($url);$postvars = $_POST("myRequest");echo $postvars;curl_setopt ($session, CURLOPT_POST, true);curl_setopt ($session, CURLOPT_POSTFIELDS, $postvars);$fp = fopen("postedVars.txt", "w");//fwrite( $fp, $postvars);curl_setopt($session, CURLOPT_FILE, $fp);curl_setopt($session, CURLOPT_HEADER, false);curl_setopt($session, CURLOPT_RETURNTRANSFER, true);curl_exec($session);curl_close($session);fclose($fp);?>      </body></html>